package com.imooc.security.core.validate.code;

/**
 * 验证码类型
 *
 * @Author sherry
 * @Description
 * @Date Create in 2019-03-23
 * @Modified By:
 */

public enum ValidateCodeType {

    IMAGE, SMS;

    /**
     * 验证码类型对应的小写参数名
     * @return
     */
    public String getParamNameOnValidate() {
        return this.name().toLowerCase();
    }}
